package com.goldenKey.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.CrossOrigin;

@SpringBootApplication(scanBasePackages = {"com.goldenKey.admin", "com.goldenKey.common"})
@CrossOrigin
@MapperScan("com.goldenKey.common.mapper")
public class GoldenKeyAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(GoldenKeyAdminApplication.class, args);
    }
}
